/**
 * 
 */
var MyInfoController = function($scope,$location,$http,$window) {
	var data = $location.search().code; 
	
	$http.get("../../weixin/info?openId="+data).success(function(response){
		if(response.code==1){
			$scope.admin=response.object;
		}
	});
	
	/** 返回 */
	$scope.goBack = function() {
		$window.history.go(-1);
	}
}